#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v3

description="SSSD Kerberos Cache Manager"
command="@libexecdir@/sssd/sssd_kcm"
command_background="true"
command_args="--logger=files ${SSSD_KCM_OPTIONS}"
command_user="@SSSD_USER@:@SSSD_USER@"
pidfile="@pidpath@/sssd_kcm.pid"

depend()
{
    need localmount clock
    use syslog
    before sssd
}
